<template>
  <DeviceCalibrationTaskDisposeDialog
    v-if="dialogFormVisible"
    :id.sync="editId"
    ref="DeviceBorrowEdit"
    :dialog-form-visible.sync="dialogFormVisible"
  />
</template>
<script>
const DeviceManage = import("@/ModuleDeviceManage");
// import DeviceCalibrationTaskDisposeDialog from "../../ModuleDeviceManage/views/DeviceCalibration/DeviceCalibrationTask/DeviceCalibrationTaskDisposeDialog.vue";

export default {
  name: "AuditDeviceCalibrationTaskDetail",
  components: { DeviceCalibrationTaskDisposeDialog: DeviceManage.DeviceCalibrationTaskDisposeDialog },
  // components: { DeviceCalibrationTaskDisposeDialog: DeviceCalibrationTaskDisposeDialog },
  props: {
    dialogFormVisible: {
      type: Boolean,
      default: false,
    },
    editId: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      loading: true,
    };
  },
  watch: {
    dialogFormVisible: function(v) {
      if (v === false) {
        this.$emit("getList");
        this.$emit("update:dialogFormVisible", false);
      }
    },
  },
  created() {

  },
  methods: { // 弹窗使用不允许删除
    getList() { }
  },
};
</script>
<style scoped>
</style>
